<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/5/28
 * Time: 19:34
 *
 */
require_once "TopSdk.php";
$c = new TopClient;
$appkey = "23870173";
$appSecret = "7a216b47de34fbd713879f01aa967706";
$c->appkey = $appkey;
$c->secretKey = $appSecret;

$req = new ItempropsGetRequest;
$req->setFields("pid,name,must,multi,prop_values");
$req->setCid("50010850");
/*$req->setPid("3232");
$req->setParentPid("4834");
$req->setIsKeyProp("true");
$req->setIsSaleProp("true");
$req->setIsColorProp("true");
$req->setIsEnumProp("true");
$req->setIsInputProp("true");
$req->setIsItemProp("true");
$req->setDatetime("2010-01-01 00:00:00");
$req->setChildPath("3932:13221;2113:2345");
$req->setType("1");
$req->setAttrKeys("");*/
$resp = $c->execute($req);
var_export($resp);